home *** CD-ROM | disk | FTP | other *** search
Text File | 1989-08-22 | 1.7 KB | 44 lines | [TEXT/GEOL] |
- Item 1236020 16-Aug-89 14:06
-
- From: AU0008 Kopfwerk EDV SW Entwicklung
-
- To: MACAPP.TECH$ MACAPP Tech
-
- Sub: ?Memory Management
-
- Hi TMAWorld = OBJECT(TMacApp),
-
- I have problems to understand the memory management of MacApp and hope anybody
- could give me an answer to my questions:
-
- 1. Is it possible to see in the MacApp debugger with the "Heap" command and the
- "Information" subcommand the amount of memory my objects uses? (espec. I want
- to test after closing a window or document if all my objects freed correctly
- and doesn´t waste any memory).
- The number of masterpointers seems not to give this information. Testing with
- "DemoDialogs" and opening and closing a window with "ViewsByTempl" leads to the
- following list of masterpointers: 603, 578, 577, 576, 575,…
- Why they are not constant? Is the state before I open a window not the same as
- after closing? Can an application run out of mem if the user repeatedly creates
- and frees an object?
-
- 2. If you go low in memory the debugger says in heap informations:
- e.g. RESERVES code = 306100 (low: 9628) low space = 4096 (OK) …
- What does this "low: <number>" mean? Does it mean the amount of loaded
- resources reached 306100 + 9628 = 315728 bytes?
-
- 3. What is "Needed reserve handle size = 41788" in the "TEMP SPACE" block?
-
- 4. We have a high water mark for temporary memory. Does the same exist for
- permanent mem? Or could objects use all other free mem until they need the low
- space reserve?
-
- Any help is
-
- Tommi GESSL, KOPFWERK SW Dev.
-
- ps: I think it is a good idea to have in the documentation a list of all heap
- information fields the debugger generates with their meaning.
-
-
-